﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;

namespace REVISIONMAX30
{
    public static class Common
    {

        public static class Constants
        {
            public const string DataMainFilePath = @".\datamain.xml";
            public const string DataMainBackUpFilePath = @".\datamain-{0}-backup.xml";
            public const string DataMainSaveBackUpFilePath = @".\datamain-{0}-save-backup.xml";
        }
        
        
    

        public static string DefaultMySQLBatchPath
        {
            get
            {
                throw new Exception("TODO");
                return System.Configuration.ConfigurationManager.AppSettings["DefaultMySQLBatchPath"].StringValueOrEmpty();
            }
        }

        public static List<string> MySQLInstallationPathList
        {
            get
            {
                throw new Exception("TODO");
                return new List<string>();
                //Microsoft.Win32.Registry.LocalMachine.
                //System.regi
                //DefaultMySQLBatchPath
            }
        }

    }
}

